from rest_framework import serializers

from activity.models import Activity


class ActivitiesSerializer(serializers.ModelSerializer):
    class Meta:
        model = Activity
        fields = ('cover', 'start_time', 'end_time', 'cover', 'status', 'title')



class ActivitiesDetailSerializer(serializers.ModelSerializer):
    class Meta:
        model = Activity
        fields = "__all__"